<?php
include("header_simple.php");

if (isset($id_muestras)) {
    $sqlm = "SELECT * FROM aux_muestras WHERE id_muestras = $id_muestras";
//echo $sqlm."<br>";
	$resm = mssql_query($sqlm,$link);
	$datosm = mssql_fetch_array($resm);
	$sqli = "SELECT * FROM dat_registro WHERE id_principal = $id_principal";
	$resi = mssql_query($sqli,$link);
	$datosi = mssql_fetch_array($resi);
}
?>
      <?php include("lista_muestras.php"); ?>